<?php
$month = 'jan';

switch ($month)
{
  case 'jan': echo 'Sunday';   break;
  case 'feb': echo 'Monday';   break;
  case 'mar': echo 'Tuesday';   break;
  case 'apr': echo 'Wednesday';   break;
  default: echo "No Match Found";

}
/*
 * Sunday
 *
 * */
